home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Dev / gcc263-src.lha / gcc-2.6.3 / config / i386 / os2.h < prev    next >
C/C++ Source or Header  |  1994-02-22  |  2KB  |  76 lines

  1. /* Definitions of target machine for GNU compiler
  2.    for an Intel i386 or later processor running OS/2 2.x.
  3.    Copyright (C) 1993, 1994 Free Software Foundation, Inc.
  4.    Contributed by Samuel Figueroa (figueroa@cs.nyu.edu)
  5.  
  6. This file is part of GNU CC.
  7.  
  8. GNU CC is free software; you can redistribute it and/or modify
  9. it under the terms of the GNU General Public License as published by
  10. the Free Software Foundation; either version 2, or (at your option)
  11. any later version.
  12.  
  13. GNU CC is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. GNU General Public License for more details.
  17.  
  18. You should have received a copy of the GNU General Public License
  19. along with GNU CC; see the file COPYING.  If not, write to
  20. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  21.  
  22. #ifndef DEFAULT_TARGET_MACHINE
  23. #define DEFAULT_TARGET_MACHINE "i386-os2"
  24. #endif
  25. #ifndef LINK_SPEC
  26. #define LINK_SPEC "/st:1048576/pm:vio/noi/a:16/e/bas:65536/nol"
  27. #endif
  28. #ifndef LIB_SPEC
  29. #define LIB_SPEC "libc"
  30. #endif
  31. #ifndef STARTFILE_SPEC
  32. #define STARTFILE_SPEC ""
  33. #endif
  34. #ifndef MD_EXEC_PREFIX
  35. #define MD_EXEC_PREFIX "\\gcc\\bin\\"
  36. #endif
  37. #ifndef STANDARD_STARTFILE_PREFIX
  38. #define STANDARD_STARTFILE_PREFIX "\\gcc\\lib\\"
  39. #endif
  40. #ifndef LOCAL_INCLUDE_DIR
  41. #define LOCAL_INCLUDE_DIR "\\gcc\\include"
  42. #endif
  43.  
  44. #define YES_UNDERSCORES
  45. #include "i386/gstabs.h"
  46.  
  47. #define USE_COLLECT
  48.  
  49. #define BIGGEST_FIELD_ALIGNMENT \
  50.   (maximum_field_alignment ? maximum_field_alignment : 32)
  51.  
  52. extern int maximum_field_alignment;
  53.  
  54. #undef PCC_BITFIELD_TYPE_MATTERS
  55. #define PCC_BITFIELD_TYPE_MATTERS (maximum_field_alignment == 0)
  56.  
  57. /* Define this macro if it is advisible to hold scalars in registers
  58.    in a wider mode than that declared by the program.  In such cases,
  59.    the value is constrained to be within the bounds of the declared
  60.    type, but kept valid in the wider mode.  The signedness of the
  61.    extension may differ from that of the type.  */
  62.  
  63. #define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE)  \
  64.   if (GET_MODE_CLASS (MODE) == MODE_INT         \
  65.       && GET_MODE_SIZE (MODE) < UNITS_PER_WORD) \
  66.       (MODE) = SImode;
  67.  
  68. /* Define this if function arguments should also be promoted using the above
  69.    procedure.  */
  70.  
  71. #define PROMOTE_FUNCTION_ARGS
  72.  
  73. /* Likewise, if the function return value is promoted.  */
  74.  
  75. #define PROMOTE_FUNCTION_RETURN
  76.